package com.cly.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cly.entity.PostCategory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 岗位分类表 Mapper 接口
 *
 * @author by 春风能解释
 * <p>
 * 2024/11/12
 */
@Mapper
public interface PostCategoryMapper extends BaseMapper<PostCategory> {
    /**
     * 查询岗位分类
     *
     * @param postCategory 查询条件
     * @return 查询结果
     */
    List<PostCategory> selectPostCategory(@Param("postCategory") PostCategory postCategory);

    /**
     * 分页查询岗位分类
     *
     * @param postCategoryPage 分页信息
     * @param postCategory     查询条件
     * @return 查询结果
     */
    IPage<PostCategory> selectPostCategoryPage(@Param("page") IPage<PostCategory> postCategoryPage, @Param("postCategory") PostCategory postCategory);

}
